import Vue from 'vue'
import Router from 'vue-router'
import Stock from '@/components/Stock'
import Webstock from '@/components/Webstock'
Vue.use(Router)

export default new Router({
  mode: 'history',
  routes: [
    {
      path: '/',
      name: 'stock',
      component: Stock
    },
    {
      path: '/webstock',
      name: 'webstock',
      component: Webstock
    }
  ]
})
